﻿using K.Client;
using PfMsg;

public class PfModule : ModuleBase
{
    protected override void Init()
    {
        InitMsg((int)PF_MSG_ID.PF_MSG_BEGIN, (int)PF_MSG_ID.PF_MSG_END);
        RegisterMsgHandler((int)PF_MSG_ID.ID_OPEN2S_RESPONSE, MsgFromOpenResponse);
    }

    public void MsgFromOpenResponse(Msg msg)
    {
        MsgFromOpenResponse msgBody = msg.body as MsgFromOpenResponse;
        EDebug.Log("MsgFromOpenResponse == " + msg.ToString());
    }
}